package com.wn.sk.product.service;

import com.wn.common.api.Result;
import com.wn.sk.feign.dto.OrderPayDto;
import com.wn.sk.product.entity.PromotionSeckill;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wn.sk.product.entity.vo.PaymentVo;

/**
 * <p>
 * 秒杀活动表 服务类
 * </p>
 *
 * @author yellow docker
 * @since 2022-11-07
 */
public interface IPromotionSeckillService extends IService<PromotionSeckill> {

    Result<PaymentVo> confirmeOrder(OrderPayDto orderPayDto, String userId);

    /**
     * 付款
     * @param orderPayDto
     * @return
     */
    Result<String> payOrder(OrderPayDto orderPayDto);

}
